package com.xcm.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 统一账户管理系统登录登出
 *
 * @author linqiang
 * @date 2018-04-13 9:15
 */
@Controller
@RequestMapping("")
public class IndexController {

    /**
     * 首页
     *
     * @return
     */
    @RequestMapping(value = "/index")
    public String index() {
        return "index";
    }

    /**
     * 跳转页面
     *
     * @return
     */
    @RequestMapping(value = "/page/{pageName}")
    public String deptMng(@PathVariable("pageName") String pageName) {
        return pageName;
    }
}
